package com.xayy.health.mgt.model.vo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author zhangxa
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ThresholdJudgmentAlgorithmVo {
    @JSONField(name = "TK8predict")
    private List<ChangeDTO> tK8predict;
    @JSONField(name = "time_index")
    private Integer timeIndex;
    @JSONField(name = "change")
    private List<ChangeDTO> change;
    @JSONField(name = "TK8graph")
    private List<ChangeDTO> tK8graph;
    @JSONField(name = "TK7graph")
    private List<ChangeDTO> tK7graph;
    @JSONField(name = "TK7predict")
    private List<ChangeDTO> tK7predict;
    @JSONField(name = "msg")
    private String msg;
    @JSONField(name = "paramCode")
    private String paramCode;

    @NoArgsConstructor
    @Data
    public static class ChangeDTO {
        @JSONField(name = "time")
        private String time;
        @JSONField(name = "value")
        private String value;
        @JSONField(name = "paramCode")
        private String paramCode;
    }
}
